# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=catana
pkgver=31.9ea1f0d
pkgrel=1
pkgdesc='Filter your wordlist according to the specified password policy.'
groups=('blackarch' 'blackarch-misc')
arch=('any')
url='https://github.com/D3vil0p3r/catana'
license=('GPL3')
depends=('bash')
makedepends=('git')
source=("git+https://github.com/D3vil0p3r/$pkgname.git")
sha512sums=('SKIP')

pkgver() {
  cd $pkgname

  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd $pkgname

  install -Dm 755 -t "$pkgdir/usr/bin/" catana
}

